<template>
	<view class="errDom dis">
		<view class="errText">这里啥都没有</view>
		<view class="errBut" @click="goIndex">返回首页</view>
	</view>
</template>

<script setup>
const goIndex = () => {
	uni.switchTab({
		url: '/pages/index/index'
	});
};
</script>

<style lang="scss" scoped>
.errDom {
	flex-direction: column;
	align-content: center;
	justify-content: center;
	align-items: center;
	width: 100vw;
	height: 100vh;
}
.errText {
	color: #666;
	line-height: 75rpx;
	font-size: 28rpx;
}
.errBut {
	width: 180rpx;
	height: 75rpx;
	line-height: 75rpx;
	text-align: center;
	font-size: 26rpx;
	border-radius: 40rpx;
	color: #fff;
	background: linear-gradient(45deg, #00a3f5, #00c9fd);
	box-shadow: 0 1rpx 2rpx #00000012;
}
</style>
